<template>
  <van-config-provider :theme="theme.color">
    <NuxtRouteAnnouncer />
    <NuxtLayout>
      <NuxtPage />
    </NuxtLayout>
  </van-config-provider>
</template>

<script setup lang="ts">
import type { ColorStyle } from './modules/components';
// color style config provider
const theme = ref({ color: 'dark' } as ColorStyle);
</script>